<?php

	$file = file($_GET["url"]);
	
	$h = fopen("images/".$_GET["imdb"].".jpg","w");
	fwrite($h, implode("",$file));
	
	header("Location: movie2.php?id=".$_GET["id"]);
	exit;
?>